package com.service;

import com.entity.Order;
import com.entity.PageBean;
import com.entity.Supplier;

import java.util.List;

public interface SupplierService {
    PageBean<Supplier> getAll(Integer pageIndex, Integer pageSize, Supplier supplier);
    List<Supplier> findAll();
    void add(Supplier supplier);

    boolean getnumPurReqAndSupplierBySid(int sid);

    void removeBySid(int sid);

    void update(Supplier supplier);

}
